home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / mac / raytrace / rayshade / ryshdmst.hqx / Rayshade / boxball.ray < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.5 KB  |  62 lines

  1. /*
  2.  * White diffuse sphere with wooden box-shaped regions removed.
  3.  * Rod Bogart 11/90
  4.  */
  5. eyep  4 3 5
  6. fov 15
  7. light 1 directional 1 0.5 2
  8. sample 1    /* Increase this value for less noisy image */
  9. /*report verbose*/
  10. screen 320 256
  11.  
  12. plane 0. 0. -5. 0. 0. 1 texture marble scale 2 2 1
  13.  
  14. surface blue ambient .1 .1 .6  diffuse .3 .6 .9 specular .2 .2 .7
  15.  
  16. difference
  17.     sphere blue 0.65 0 0 0
  18.     texture bump 1 scale .2 .2 .2
  19.     grid 3 3 3
  20.         applysurf ambient .4 .05 .05
  21.               diffuse .8 .1 .05
  22.               specular .15 .05 .05
  23.                 specpow 10
  24.  
  25.         box 0.3 0.3 -0.7 0.7 0.7 -0.3 
  26.         box -0.2 0.3 -0.7 0.2 0.7 -0.3 
  27.         box -0.7 0.3 -0.7 -0.3 0.7 -0.3 
  28.  
  29.         box 0.3 0.3 -0.2 0.7 0.7 0.2 
  30.         box -0.2 0.3 -0.2 0.2 0.7 0.2 
  31.         box -0.7 0.3 -0.2 -0.3 0.7 0.2 
  32.  
  33.         box 0.3 0.3 0.3 0.7 0.7 0.7 
  34.         box -0.2 0.3 0.3 0.2 0.7 0.7 
  35.         box -0.7 0.3 0.3 -0.3 0.7 0.7 
  36.  
  37.         box 0.3 -0.2 -0.7 0.7 0.2 -0.3 
  38.         box -0.2 -0.2 -0.7 0.2 0.2 -0.3 
  39.         box -0.7 -0.2 -0.7 -0.3 0.2 -0.3 
  40.  
  41.         box 0.3 -0.2 -0.2 0.7 0.2 0.2 
  42.         box -0.2 -0.2 -0.2 0.2 0.2 0.2 
  43.         box -0.7 -0.2 -0.2 -0.3 0.2 0.2 
  44.  
  45.         box 0.3 -0.2 0.3 0.7 0.2 0.7 
  46.         box -0.2 -0.2 0.3 0.2 0.2 0.7 
  47.         box -0.7 -0.2 0.3 -0.3 0.2 0.7 
  48.  
  49.         box 0.3 -0.7 -0.7 0.7 -0.3 -0.3 
  50.         box -0.2 -0.7 -0.7 0.2 -0.3 -0.3 
  51.         box -0.7 -0.7 -0.7 -0.3 -0.3 -0.3 
  52.  
  53.         box 0.3 -0.7 -0.2 0.7 -0.3 0.2 
  54.         box -0.2 -0.7 -0.2 0.2 -0.3 0.2 
  55.         box -0.7 -0.7 -0.2 -0.3 -0.3 0.2 
  56.  
  57.         box 0.3 -0.7 0.3 0.7 -0.3 0.7 
  58.         box -0.2 -0.7 0.3 0.2 -0.3 0.7 
  59.         box -0.7 -0.7 0.3 -0.3 -0.3 0.7 
  60.     end texture wood scale 3 1 1
  61. end
  62.